/*
 * EditSession.java - Copyright May 11, 2012 Z Networks Group, Inc. All rights reserved.
 * Z Networks Group PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.andromeda.skadi.data;

import com.andromeda.lang.event.AbstractEvent;
import com.andromeda.lang.event.Event;
import com.andromeda.lang.event.EventListener;
import com.andromeda.lang.event.EventSource;
import com.andromeda.skadi.data.EditSession.EditSessionEvent;
import com.andromeda.skadi.property.Property;

/**
 *
 * @author Dickinson Roman Arismendy Torres
 */
public class EditSession implements EventSource<EditSessionEvent> {

    public Property<Boolean> valid;

    @Override
    public void addEventListener(EventListener<EditSessionEvent> listener) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void removeEventListener(EventListener<EditSessionEvent> listener) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void commitChanges() {
    }

    @Override
    public void addEventListener(EventListener<EditSessionEvent> listener, boolean strongReferenced) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public class EditSessionEvent extends AbstractEvent<EditSession> {

        public EditSessionEvent(EditSession source, long when) {
            super(source, when);
        }

        public EditSessionEvent(EditSession source) {
            super(source);
        }
    }
}
